package org.springsecuritylearn.repository.dao;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.*;
import org.springsecuritylearn.repository.domain.EBook;


import java.util.List;

public interface EBookDao extends JpaRepository<EBook,Long>,JpaSpecificationExecutor<EBook> {//关联表对象，主键类型


    List<EBook> findByName(String name);


}
